package com.lin.spzx.manager.mapper;

import com.lin.spzx.model.dto.system.SysUserDto;
import com.lin.spzx.model.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserMapper {
    //2 根据用户名查询数据库表sys user表
    SysUser selectByUserName(String userName);
    //用户分页列表
  List<SysUser> findByPage(SysUserDto sysUserDto);

     void save(SysUser sysUser);

     void update(SysUser sysUser);

    void delete(Long userId);
}
